<template>
  <div class="wrapper">
    <user-list :identity="1"></user-list>
  </div>
</template>

<script>
import userList from "@/components/UserList/index.vue";
// import { getExternalUserInfo } from "@/utils/auth";

export default {
  name: "",
  components: {
    userList,
  },
  data() {
    return {
      project_key: "",
      guid: "",
      project_id: "",
      admin_addAdmin: true,
      gather: [],
      userInfo: {},
    };
  },
  mounted() {
    
  },
  methods: {
    getHtmlAuthority(project_key) {
      ApiMenu.getHtmlAuthority(
        {
          path: this.$route.path,
          project_key,
          guid: this.guid,
        },
        this.project_key
      ).then((res) => {
        console.log(res, "getHtmlAuthority");
        if (res.code == 200) {
          if (!Array.isArray(res.data)) {
            this.admin_addAdmin = res.data.admin_addAdmin;
            this.gather = res.data.gather;
          }
        }
      });
    },
  },
};
</script>

<style lang="scss" scoped>
.wrapper {
  padding: 15px;
  height: 100%;
}
</style>
